﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Front/Site.Master" AutoEventWireup="true" CodeBehind="AreaDefault.aspx.cs" Inherits="VK.Casemeet.Web.Front.AreaDefault" %>

<%@ Import Namespace="VK.Comm" %>
<%@ Import Namespace="VK.Casemeet" %>

<%@ Register src="Controls/TopShop.ascx" tagname="TopShop" tagprefix="uc1" %>
<%@ Register src="Controls/TopGroup.ascx" tagname="TopGroup" tagprefix="uc3" %>

<asp:Content ID="Content1" ContentPlaceHolderID="contentHead" runat="server">
    <link href="/Front/css/style.css" type="text/css" rel="stylesheet" charset="utf-8" />
    <script type="text/javascript" src="/Scripts/jquery.d.imagechange.js"></script>
    <script language="javascript" type="text/javascript">
        // 需要你写的数据
        var data01 = [<% =GetSlideData("Slide01") %>];
        var data02 = [<% =GetSlideData("Slide02") %>];

        jQuery(document).ready(function () {
            jQuery('#slide01').d_imagechange({
                data: data01,
                playTime: 2000,
                animateTime: 300,
                width: 980,
                height: 304,
                bgHeight: 24,
                titleSize: 12,
                repeat: 'repeat',
                bg: false,
                title: false,
                desc: false,
                btnText: false
            });
            jQuery('#slide02').d_imagechange({
                data: data02,
                playTime: 2000,
                animateTime: 300,
                width: 240,
                height: 200,
                bgHeight: 24,
                titleSize: 12,
                repeat: 'repeat',
                bg: false,
                title: false,
                desc: false,
                btnText: false
            });
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentBody" runat="server">
    <div id="content_width">
		<!------banner------>
		<div id="area_banner">
			<div id="slide01">
			  
			</div>
		</div>
		<!----首页内容-----> 
		<div id="content">
			<div class="home_main">
				<div class="around_dynamic">
					<div class="dynamic_ad">
						<div class="dynamic_ad" id="slide02"></div>
					</div>
					<div class="home_alliances bg border">
						<div class="title greentitle"><h2>联盟动态</h2><span><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/ArticleList.html">查看更多>></a></span><div class="clear"></div></div>
						<table class="home_alliances_con" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;">
						  <asp:Repeater ID="rptArticle" runat="server">
                            <ItemTemplate>
                            <tr>
							    <td style="width:370px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/ArticleDetail/<%# Eval("ArticleID") %>.html"><%# Eval("Title") %></a></td>
							    <td>[<%# PageHelper.GetAreaName(Eval("ProvinceName").ToString(), Eval("CityName").ToString()) %>]</td>
							    <td><%# Util.FormatDateTime((DateTime)Eval("Created"), DateTimeStyle.ShortDate3) %> </td>
						    </tr>
                            </ItemTemplate>
                           </asp:Repeater>
						</table>
					</div><div class="clear"></div>
				</div>
				<div class="ad spacing"><% =VK.Casemeet.ADs.ADHelper.GetADHtml("DefaultLeft01", (Master as VK.Casemeet.Web.Front.Site).provinceID, (Master as VK.Casemeet.Web.Front.Site).cityID)%></div>
				<div class="union_activities bg border spacing">
					<div class="title greentitle"><h2>联盟特色活动线路</h2><span><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/LineList.html">查看更多>></a></span><div class="clear"></div></div>
					<table class="table_con" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;">
						<tr>
							<th width="15%">出发日期</th>
							<th width="42%">活动名称</th>
							<th width="8%">地区</th>
							<th width="30%">发起单位</th>
                            <th width="5%">查看</th>
						</tr>

                        <asp:Repeater ID="rptLine01" runat="server">
                        <ItemTemplate>
                        <tr>
                            <td><%# Util.FormatDateTime((DateTime)Eval("DepartureDate"), DateTimeStyle.ShortDate2) %></td>
							<td><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/LineDetail/<%# Eval("LineID") %>.html"><%# Eval("Name") %></a></td>
							<td><%# Eval("StaProvinceArea")%></td>
                            <td><%# Eval("ShopName")%></td>
							<td><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/LineDetail/<%# Eval("LineID") %>.html">详情</a></td>
						</tr>
                        </ItemTemplate>
                        </asp:Repeater>
                       
					</table>
				</div>
				<div class="ad spacing"><% =VK.Casemeet.ADs.ADHelper.GetADHtml("DefaultLeft02", (Master as VK.Casemeet.Web.Front.Site).provinceID, (Master as VK.Casemeet.Web.Front.Site).cityID)%></div>
				<div class="domestic bg border spacing">
					<div class="title greentitle"><h2>盟友国内最新活动线路</h2><span><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/LineList.html">查看更多>></a></span><div class="clear"></div></div>
					<table class="table_con" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<th width="15%">出发日期</th>
							<th width="42%">活动名称</th>
							<th width="8%">地区</th>
							<th width="30%">发起单位</th>
                            <th width="5%">查看</th>
						</tr>

						<asp:Repeater ID="rptLine02" runat="server">
                        <ItemTemplate>
                        <tr>
                            <td><%# Util.FormatDateTime((DateTime)Eval("DepartureDate"), DateTimeStyle.ShortDate2) %></td>
							<td><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/LineDetail/<%# Eval("LineID") %>.html"><%# Eval("Name").ToString().Length>23?Eval("Name") .ToString().Substring(0,23)+"...":Eval("Name") .ToString() %></a></td>
							<td><%# Eval("DesProvinceName")%></td>
                            <td class="character130 character"><%# Eval("ShopName")%></td>
							<td><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/LineDetail/<%# Eval("LineID") %>.html">详情</a></td>
						</tr>
                        </ItemTemplate>
                        </asp:Repeater>

					</table>
				</div>
				<div class="ad spacing"><% =VK.Casemeet.ADs.ADHelper.GetADHtml("DefaultLeft03", (Master as VK.Casemeet.Web.Front.Site).provinceID, (Master as VK.Casemeet.Web.Front.Site).cityID)%></div>
				<div class="union_activities bg border spacing">
					<div class="title greentitle"><h2>盟友境外最新活动线路</h2><span><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/LineList.html?desPro=3346&staPro=0&type=0&day=-&mon=0&holi=0&stay=0&price=-&grade=0&sort=1">查看更多>></a></span><div class="clear"></div></div>
					<table class="table_con" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<th width="15%">出发日期</th>
							<th width="45%">活动名称</th>
							<th width="10%">地区</th>
							<th width="25%">发起单位</th>
                            <th width="5%">查看</th>
						</tr>
						<asp:Repeater ID="rptLine03" runat="server">
                        <ItemTemplate>
                        <tr>
                            <td><%# Util.FormatDateTime((DateTime)Eval("DepartureDate"), DateTimeStyle.ShortDate2) %></td>
							<td><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/LineDetail/<%# Eval("LineID") %>.html"><%# Eval("Name").ToString().Length>23?Eval("Name") .ToString().Substring(0,23)+"...":Eval("Name") .ToString() %></a></td>
							<td><%# Eval("DesProvinceName")%></td>
                            <td class="character130 character"><%# Eval("ShopName")%></td>
							<td><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/LineDetail/<%# Eval("LineID") %>.html">详情</a></td>
						</tr>
                        </ItemTemplate>
                        </asp:Repeater>
					</table>
				</div>
				<div class="ad spacing"><% =VK.Casemeet.ADs.ADHelper.GetADHtml("DefaultLeft04", (Master as VK.Casemeet.Web.Front.Site).provinceID, (Master as VK.Casemeet.Web.Front.Site).cityID)%></div>
				<div class="union_allies bg border spacing">
					<div class="title greentitle"><h2>联盟盟友</h2><span><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/ShopList.html">查看更多>></a></span><div class="clear"></div></div>
					<div class="club_firm_bases">
						<div class="club">
							<div class="union_title"><span>俱乐部</span></div>
							<ul class="pic_news">
                                <asp:Repeater ID="rptShop0101" runat="server">
                                <ItemTemplate>
                                <li>
                                    <li><a href="/Shop_<%# Eval("ShopID")%>.html" target="_blank"><img src="/UserImages/Logos/<%# Eval("LogoUrl") %>" /></a>
                                    <span><a href="/Shop_<%# Eval("ShopID")%>.html" target="_blank"><%# Eval("Name")%></a></span><div class="clear"></div></li>
                                </li>
                                </ItemTemplate>
                                </asp:Repeater>
							</ul><div class="clear"></div>
							<ul class="news">
                                <asp:Repeater ID="rptShop0102" runat="server">
                                <ItemTemplate>
                                <li>
                                    <li><a href="/Shop_<%# Eval("ShopID")%>.html" target="_blank"><%# Eval("Name")%></a></li>
                                </li>
                                </ItemTemplate>
                                </asp:Repeater>
							</ul>
						</div>
						<div class="firm">
							<div class="union_title"><span>厂 商</span></div>
							<ul class="pic_news">
								<asp:Repeater ID="rptShop0201" runat="server">
                                <ItemTemplate>
                                <li>
                                    <li><a href="/Shop_<%# Eval("ShopID")%>.html" target="_blank"><img src="/UserImages/Logos/<%# Eval("LogoUrl") %>" /></a>
                                    <span><a href="/Shop_<%# Eval("ShopID")%>.html" target="_blank"><%# Eval("Name")%></a></span><div class="clear"></div></li>
                                </li>
                                </ItemTemplate>
                                </asp:Repeater>
							</ul><div class="clear"></div>
							<ul class="news">
								<asp:Repeater ID="rptShop0202" runat="server">
                                <ItemTemplate>
                                <li>
                                    <li><a href="/Shop_<%# Eval("ShopID")%>.html" target="_blank"><%# Eval("Name")%></a></li>
                                </li>
                                </ItemTemplate>
                                </asp:Repeater>
							</ul>
						</div>
						<div class="bases">
							<div class="union_title"><span>基地与景区</span></div>
							<ul class="pic_news">
								<asp:Repeater ID="rptShop0301" runat="server">
                                <ItemTemplate>
                                <li>
                                    <li><a href="/Shop_<%# Eval("ShopID")%>.html" target="_blank"><img src="/UserImages/Logos/<%# Eval("LogoUrl") %>" /></a>
                                    <span><a href="/Shop_<%# Eval("ShopID")%>.html" target="_blank"><%# Util.CutString(Eval("Name").ToString(), 13, CutStyle.Ellipsis)%></a></span><div class="clear"></div></li>
                                </li>
                                </ItemTemplate>
                                </asp:Repeater>
							</ul><div class="clear"></div>
							<ul class="news">
								<asp:Repeater ID="rptShop0302" runat="server">
                                <ItemTemplate>
                                <li>
                                    <li><a href="/Shop_<%# Eval("ShopID")%>.html" target="_blank"><%# Eval("Name")%></a></li>
                                </li>
                                </ItemTemplate>
                                </asp:Repeater>
							</ul>
						</div>
						<div class="clear"></div>
					</div>
				</div>
				<div class="ad spacing"><% =VK.Casemeet.ADs.ADHelper.GetADHtml("DefaultLeft05", (Master as VK.Casemeet.Web.Front.Site).GetCurrentAreaID(),0)%></div>
				<div class="elites_atlas spacing">
					<div class="elites bg border ">
						<div class="title greentitle"><h2>联盟精英</h2><span><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/EliteList.html">查看更多>></a></span><div class="clear"></div></div>
						<ul class="home_elites_con">
                            <asp:Repeater ID="rptElite" runat="server">
                            <ItemTemplate>
                                <li>
                                    <a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/EliteDetail_<%# Eval("EliteID") %>.html">
                                        <img src="/UserImages/Elites/<%# Eval("ImgUrl") %>"/>
                                    </a>
                                    <p><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/EliteDetail_<%# Eval("EliteID") %>.html"><%# Util.CutString(Eval("Title").ToString(),12, CutStyle.Ellipsis)%></a></p>
                                </li>
                            </ItemTemplate>
                            </asp:Repeater>
						</ul><div class="clear"></div>
					</div>
					<div class="atlas bg border">
						<div class="title greentitle"><h2>精彩活动图集</h2><span><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/AlbumList.html">查看更多>></a></span><div class="clear"></div></div>
						<ul class="home_atlas_con">
                            <asp:Repeater ID="rptAlbum" runat="server">
                            <ItemTemplate>
                                <li>
                                    <a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/AlbumDetail_<%# Eval("AlbumID") %>.html">
                                        <img src="/UserImages/Photos/<%# PageHelper.GetImageUrl(Eval("ImgUrl").ToString(),"M_") %>"/>
                                    </a>
                                    <p><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/AlbumDetail_<%# Eval("AlbumID") %>.html"><%# Util.CutString(Eval("Name").ToString(), 12, CutStyle.Ellipsis) %></a></p>
                                </li>
                            </ItemTemplate>
                            </asp:Repeater>
						</ul><div class="clear"></div>
					</div>
				</div>
			</div>
			<div id="home_sidebar">
				<div class="home_login">
					<ul>
						<li><a href="/MemberRegister.html" class="register">个人会员注册</a></li>
						<li><a href="/MemberLogin.html" class="user">个人会员登陆</a></li>
						<li><a href="/ShopRegister.html" class="register">企业会员注册</a></li>
						<li><a href="/ShopLogin.html" class="company">企业会员登陆</a></li>
					</ul><div class="clear"></div>
				</div>
				<!-------分站侧栏用户登录状态下
				<div class="LoginInfoCurrentUser bg border">
					<div class="title bluetitle">欢迎回来尊敬的会员</div>
					<div class="username">Monokuromeng</div>
					<dl class="Interested">
						<dt>您可能感兴趣：</dt>
						<dd><a href="#">联盟优惠活动标题.</a></dd>
						<dd><a href="#">联盟路线优惠活动</a></dd>
						<dd><a href="#">联盟路线优惠活动标题..</a></dd>
					</dl>
				</div>
				分站侧栏用户登录状态下----->
				<div class="qqonline bg border spacing">
					<div class="title bluetitle"><h3>联盟在线</h3><div class="clear"></div></div>
					<ul class="qqonline_con">
                        <asp:Repeater ID="rptChat" runat="server">
                        <ItemTemplate>
                            <li><a target="_blank" title="<%# Eval("Name") %>" href="http://wpa.qq.com/msgrd?v=3&amp;uin=<%# Eval("Number") %>&amp;site=qq&amp;menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:<%# Eval("Number") %>:45" alt="<%# Eval("Name") %>" title="<%# Eval("Name") %>"> <%# Eval("Name") %></a></li>
                        </ItemTemplate>
                        </asp:Repeater>
					</ul>
                    <div class="clear" style="width:150px;height:15px;"></div>
				</div>
				<div class="ad spacing"><img src="/Front/images/side_adbanner.jpg"/></div>
				<div class="Joining bg border spacing">
					<div class="title bluetitle"><h3>最新加盟</h3><span><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/ShopList.html">more</a></span><div class="clear"></div></div>
					<ul>
						<uc1:TopShop ID="TopShop1" runat="server" SortField="[Shop].[Hits]" />
					</ul>
				</div>
				<div class="insure bg border spacing">
					<div class="title bluetitle"><h3>保险</h3><span><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/ArticleList_3.html">more</a></span><div class="clear"></div></div>
					<ul>
                        <asp:Repeater ID="rptBaoXian" runat="server">
                        <ItemTemplate>
						    <li>
							    <img src="/UserImages/Logos/<%# Eval("ImgUrl")%>"/>
							    <p><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/ArticleDetail/<%# Eval("ArticleID") %>.html"><%# Eval("Title") %></a><br><%# Util.FormatDateTime((DateTime)Eval("Created"), DateTimeStyle.ShortDate2) %></p><div class="clear"></div>
						    </li>
                        </ItemTemplate>
                        </asp:Repeater>
					</ul>
				</div>
				<div class="tuan bg border spacing">
					<div class="title bluetitle"><h3>团购</h3><span><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/Group.html">more</a></span><div class="clear"></div></div>
					<ul>
						<uc3:TopGroup ID="TopGroup1" runat="server" />
					</ul>
				</div>
				<div class="partners bg border spacing">
					<div class="title bluetitle"><h3>合作伙伴</h3><span><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/ArticleList_2.html">more</a></span><div class="clear"></div></div>
					<ul>
                        <asp:Repeater ID="rptLink" runat="server">
                        <ItemTemplate>
                            <li>
							    <a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/ArticleDetail/<%# Eval("ArticleID") %>.html" title="<%# Eval("Title")%>" target="_blank"><img src="/UserImages/Logos/<%# Eval("ImgUrl")%>"/></a>
							    <p><a href="/<% =(Master as VK.Casemeet.Web.Front.Site).GetAreaUrl() %>/ArticleDetail/<%# Eval("ArticleID") %>.html" title="<%# Eval("Title")%>" target="_blank"><%# Eval("Title")%></a></p>
						    </li>
                        </ItemTemplate>
                        </asp:Repeater>
					</ul>
				</div>
				<div class="contact_us bg border spacing">
					<div class="title bluetitle"><h3>联系我们</h3><div class="clear"></div></div>
					<ul>
						<li>地址：上海中山北路华东师范大学理科大楼B1507</li>
						<li>联系电话：021-62601950</li>
						<li>联系手机：13818147696</li>
						<li>网站地址：www.casemeet.com</li>
						<li>电子邮箱：admin#casemeet.com 注：发邮件时请将#改为@</li>
					</ul>
				</div>
			</div>
			<div class="clear"></div>
		</div>
	</div>
</asp:Content>
